package bebetter.demo.admin.controller;

import bebetter.demo.common.model.User;
import bebetter.demo.common.dao.UserDao;
import bebetter.demo.common.service.UserService;
import bebetter.jpa.base.BaseDao;
import bebetter.basejpa.controller.BaseAdminController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
* 后台管理 用户
*/
@RestController
@RequestMapping("/user")
public class AdminUserController extends BaseAdminController<User> {
	@Autowired
	UserService service;



	@Override
	public Class<? extends BaseDao<User>> getDaoClass() {
	    return UserDao.class;
	}
}
